﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess.ObjectTwo
{
   public class D_LoadGid
    {
        ConnectionToDataBase ex = new ConnectionToDataBase();
        DataTable tb = new DataTable();
        public DataTable loadCompany()
        {
            tb = ex.executeSelectQueryNonParameter("ViewAllCompany");
            return tb;
        }
        public DataTable loadCity()
        {
            tb = ex.executeSelectQueryNonParameter("ViewAllCity");
            return tb;
        }
        public DataTable loadBranch()
        {
            tb = ex.executeSelectQueryNonParameter("ViewAllBranch1");
            return tb;
        }
        public DataTable loadDis()
        {
            tb = ex.executeSelectQueryNonParameter("ViewAllDistance");
            return tb;
        }
        public DataTable loadSer()
        {
            tb = ex.executeSelectQueryNonParameter("ViewSer");
            return tb;
        }
        public DataTable loadfEE()
        {
            tb = ex.executeSelectQueryNonParameter("ViewAllFee");
            return tb;
        }
        public DataTable loadNew()
        {
            tb = ex.executeSelectQueryNonParameter("ViewAllNEWS");
            return tb;
        }
        public DataTable loadFeed()
        {
            tb = ex.executeSelectQueryNonParameter("ViewFeed");
            return tb;
        }
        public DataTable loadOder()
        {
            tb = ex.executeSelectQueryNonParameter("ViewORDERS");
            return tb;
        }
    }
}
